package io.finer.erp.jeecg.approve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批流节点
 * </p>
 *
 * @author yaoyifan
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ApproveFlowNode对象", description="审批流节点")
public class ApproveFlowNode implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "审批流ID")
    private Integer approveFlowId;

    @ApiModelProperty(value = "位置")
    private Integer pos;

    @ApiModelProperty(value = "是否最后节点")
    private Integer last;


}
